package com.nancy.java_design.prototype.demo1;

public class Client {
    public static void main(String[] args) throws CloneNotSupportedException {
        Certificate certificate1 = new Certificate();
        Certificate certificate2 = certificate1.clone();

        certificate1.setName("张三");
        certificate2.setName("李四");

        certificate1.display();
        certificate2.display();
    }
}
